import request from '@/utils/request'

// 查询aa列表
export function listAa(query) {
  return request({
    url: '/aa/aa/list',
    method: 'get',
    params: query
  })
}

// 查询aa详细
export function getAa(id) {
  return request({
    url: '/aa/aa/' + id,
    method: 'get'
  })
}

// 新增aa
export function addAa(data) {
  return request({
    url: '/aa/aa',
    method: 'post',
    data: data
  })
}

// 修改aa
export function updateAa(data) {
  return request({
    url: '/aa/aa',
    method: 'put',
    data: data
  })
}

// 删除aa
export function delAa(id) {
  return request({
    url: '/aa/aa/' + id,
    method: 'delete'
  })
}
